package com.lagou.tp.service.impl;

import com.lagou.api.service.TpService;

import java.util.Random;

/**
 * @AUTHOR: yb.feng
 * @DATE: 2020/6/15 22:55
 * @DESC:
 */
public class TpServiceImpl implements TpService {
    @Override
    public void methodA() {
        try {
            Random random = new Random();
            Thread.sleep(random.nextInt(100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    @Override
    public void methodB() {
        try {
            Random random = new Random();
            Thread.sleep(random.nextInt(100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    @Override
    public void methodC() {
        try {
            Random random = new Random();
            Thread.sleep(random.nextInt(100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
